ListStackEvents
Description
call the ListStackEvents interface to query the resource stack and the events of the resources in the stack.
Request Method
POST
Request Path
/apsara/route/ROS/ListStackEvents
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
ResourceType.N | BODY | repeatlist | No | ALIYUN::ECS::Instance | list of resource types. The maximum value of n is 200. |
PageSize | BODY | long | No | 10 | the number of rows per page set during paging query. Maximum value: 50. default value: 10. |
PageNumber | BODY | long | No | 1 | the page number of the event list. starting value: 1. default value: 1. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Status.N | BODY | repeatlist | No | CREATE_IN_PROGRESS | resource status. Value: CREATE_COMPLETE CREATE_FAILED CREATE_IN_PROGRESS UPDATE_IN_PROGRESS UPDATE_FAILED UPDATE_COMPLETE UPDATE_SKIPPED DELETE_IN_PROGRESS DELETE_FAILED CHECK_IN_PROGRESS CHECK_FAILED CHECK_COMPLETE IMPORT_IN_PROGRESS IMPORT_FAILED IMPORT_COMPLETE |
RegionId | BODY | string | Yes | cn-hangzhou | the region ID to which the resource stack belongs. |
LogicalResourceId.N | BODY | repeatlist | No | WebServer | resource logical ID, that is, the name of the resource in the template. |
version | BODY | string | No | 2016-01-01 | version of api |
StackId | BODY | string | Yes | 4a6c9851-3b0f-4f5f-b4ca-a14bf691**** | resource stack ID. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}